<?
/**
 * Copyright 2008 Melange.
 *
 * This file is part of Melange CMS
 *
 * @package cms
 *
 */


/**
 * Requirements
 */
require_once("mvc/action/ActionForm.php");
require_once("mvc/action/ActionMessage.php");
require_once("mvc/action/ActionMessages.php");



/**
 * BaseRecipientForm Class
 *
 * @category    Melange CMS
 * @package     cms
 * @copyright   Copyright (c) 2007 Jeroen Simons. All rights reserved
 * @author      Jeroen Simons <jeroen@melange.nl>
 * @link        http://www.melange.nl/
 */
class BaseRecipientForm extends ActionForm {


    // ----------------------------------------------------- Instance Variables


    /**
     * recipients
     *
     * @var mixed 
     */
    protected $recipients;


    /**
     * received
     *
     * @var mixed 
     */
    protected $received;


    /**
     * id
     *
     * @var mixed 
     */
    protected $id;


    /**
     * types
     *
     * @var mixed 
     */
    protected $types;


    /**
     * countries
     *
     * @var mixed 
     */
    protected $countries;


    // ----------------------------------------------------------- Constructors


    /**
     * Construct new BaseRecipientForm
     */
    public function __construct() {
        $this->recipients = array();
        $this->received = array();
        $this->id = null;
        $this->types = array();
        $this->countries = array();
    }


    // ------------------------------------------------------------- Properties


    /**
     * Get Recipients
     *
     * @return mixed 
     */
    public function getRecipients() {
        return $this->recipients;
    }


    /**
     * Set Recipients
     *
     * @param mixed  recipients
     */
    public function setRecipients($recipients) {
        $this->recipients = $recipients;
    }


    /**
     * Get Received
     *
     * @return mixed 
     */
    public function getReceived() {
        return $this->received;
    }


    /**
     * Set Received
     *
     * @param mixed  received
     */
    public function setReceived($received) {
        $this->received = $received;
    }


    /**
     * Get Id
     *
     * @return mixed 
     */
    public function getId() {
        return $this->id;
    }


    /**
     * Set Id
     *
     * @param mixed  id
     */
    public function setId($id) {
        $this->id = $id;
    }


    /**
     * Get Types
     *
     * @return mixed 
     */
    public function getTypes() {
        return $this->types;
    }


    /**
     * Set Types
     *
     * @param mixed  types
     */
    public function setTypes($types) {
        $this->types = $types;
    }


    /**
     * Get Countries
     *
     * @return mixed 
     */
    public function getCountries() {
        return $this->countries;
    }


    /**
     * Set Countries
     *
     * @param mixed  countries
     */
    public function setCountries($countries) {
        $this->countries = $countries;
    }


    // --------------------------------------------------------- Public Methods


    /**
     * Validate this form
     *
     * @return array $errors
     */
    public function validate() {

        $errors = new ActionMessages();

        return $errors;
    }

}
?>